package org.hq.tool.redis;

import org.hq.upvideo.RedisKey;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;

@SpringBootTest
public class NetHttpTask {
    @Autowired
    private RedisTemplate<String, String> redisString;

    /**
     * 读取
     * Httptasks.REDIS_KEY_SAVE_NET_HTTP
     */
   @Test
    void getSaveNetHttp(){


    }
    @Test
    void SihuRedisKey(){
       String key =String.valueOf(RedisKey.SIHU_HOST);
        redisString.opsForValue().set(key,"https://www.c288e9.com/Enter/home.html");
    }

}
